package org.csu.petserver.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

@Data
@TableName("item")
@Repository
public class Item {
    @TableId("itemid")
    private String id;

    private String productid;

    private BigDecimal listprice;//售价

    private BigDecimal unitcost;//成本

    @TableField("attr1")
    private String attribute;

    private String image;

    private int inventory;

}
